package com.smedi.ismedi.authoritymanagement.core.port.adapter.persistence.model;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import com.smedi.ismedi.database.starter.model.BasicFieldEntity;
import lombok.Data;

import java.io.Serializable;

/**
 * @Author: xulinjun
 * @Date: 2021-7-13 19:42
 */
@Data
@TableName(value = "ath_frame_structure")
public class FrameStructureEntity extends BasicFieldEntity implements Serializable {
    @TableField(value = "is_root")
    private boolean root;

    @TableField(value = "root_code")
    private String rootCode;

    @TableField(value = "root_name")
    private String rootName;

    @TableField(value = "parent_id")
    private Long parentId;

    @TableField(value = "type")
    private String type;

    @TableField(value = "term_id")
    private Long termId;

    @TableField(value = "display_order")
    private int displayOrder;
}
